<?php

class ClassName {

    function __construct() {
        if ($page_id != "") {
            $x = 0;}
    }

    function foo() {^}

}

?>